package com.ihighest.app.infox.bean;

import java.io.Serializable;

/**
 * ITEM的对应可序化队列属性
 * */
public class ChannelItem implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -6465237897027410019L;
	/**
	 * 栏目对应ID
	 * 
	 * */
	public String id;

	/**
	 * 栏目对应NAME
	 * */
	public String name;
	/**
	 * 栏目在整体中的排序顺序 rank
	 * */
	public Integer orderId;
	/**
	 * 栏目是否选中
	 * */
	public Integer selected;

	public String sort;

	/**
	 * 频道类型
	 */
	public String type;
	/**
	 * 是否可以取消
	 */
	public String cancel;

	public ChannelItem() {
	}

	public ChannelItem(String id, String name, int orderId, int selected, String sort,String type) {
		this.id = id;
		this.name = name;
		this.orderId = Integer.valueOf(orderId);
		this.selected = Integer.valueOf(selected);
		this.sort = sort;
		this.type=type;
		
	}
	
	public ChannelItem(String id, String name, int orderId, int selected, String sort, String type,String cancel) {
		this.id = id;
		this.name = name;
		this.orderId = Integer.valueOf(orderId);
		this.selected = Integer.valueOf(selected);
		this.sort = sort;
		this.type=type;
		this.cancel=cancel;
	}

	
	public String getCancel() {
		return cancel;
	}

	public void setCancel(String cancel) {
		this.cancel = cancel;
	}

	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}

	public String getId() {
		return this.id;
	}

	public String getName() {
		return this.name;
	}

	public int getOrderId() {
		return this.orderId.intValue();
	}

	public Integer getSelected() {
		return this.selected;
	}

	public void setId(String paramInt) {
		this.id = paramInt;
	}

	public void setName(String paramString) {
		this.name = paramString;
	}

	public void setOrderId(int paramInt) {
		this.orderId = Integer.valueOf(paramInt);
	}

	public void setSelected(Integer paramInteger) {
		this.selected = paramInteger;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	@Override
	public String toString() {
		return "ChannelItem [id=" + this.id + ", name=" + this.name + ", selected=" + this.selected + ", sort=" + this.sort + "]";
	}
}
